#include<stdio.h>
#include<sys/types.h>
#include<sys/stat.h>
#include<fcntl.h>
#include<string.h>
#include<unistd.h>

int main(int argc,char* argv[])
{
    if(argc != 2)
    {
        printf("fail to execute!\n");
        return 1;
    }    
    int fd = open(argv[1],O_RDONLY);
    char content[16];
    memset(content,'\0',sizeof(content));
    read(fd,content,sizeof(content));
    fprintf(stdout,"%s",content);
    close(fd);

    return 0;
}
